package com.zhuoyue.system.mapper;

import com.zhuoyue.common.annotation.DataSource;
import com.zhuoyue.system.domain.TblLocalSceneZigbeeDeviceRelation;

import java.util.List;

import static com.zhuoyue.common.enums.DataSourceType.SLAVE;

public interface TblLocalSceneZigbeeDeviceRelationMapper {
    int deleteByPrimaryKey(String id);

    int insert(TblLocalSceneZigbeeDeviceRelation record);

    int insertSelective(TblLocalSceneZigbeeDeviceRelation record);

    @DataSource(SLAVE)
    List<TblLocalSceneZigbeeDeviceRelation> selectByPrimaryKey(String scene_id);

    int updateByPrimaryKeySelective(TblLocalSceneZigbeeDeviceRelation record);

    int updateByPrimaryKey(TblLocalSceneZigbeeDeviceRelation record);
}
